import unittest

from lib.HTMLTestRunner_PY3 import HTMLTestRunner

if __name__ == '__main__':
    suite = unittest.TestLoader().discover('script', 'test*')
    with open('report/TPshop登录接口.html', 'wb') as f:
        runner = HTMLTestRunner(f,verbosity=2)
        runner.run(suite)

